package cn.iocoder.yudao.module.ems.dal.mysql.outbound;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.module.ems.dal.dataobject.outbound.OutboundInfoDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 出库记录 Mapper
 *
 * @author dason
 */
@Mapper
public interface OutboundInfoMapper extends BaseMapperX<OutboundInfoDO> {

    default List<OutboundInfoDO> selectList(Long outbound_id) {
        return selectList(new LambdaQueryWrapperX<OutboundInfoDO>()
                .eqIfPresent(OutboundInfoDO::getOutboundId, outbound_id));
    }

}
